projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c98265b
)
(Fregexp_quote): Use make_specified_string.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 21 Mar 1998 17:50:03 +0000
(17:50 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 21 Mar 1998 17:50:03 +0000
(17:50 +0000)
src/search.c
patch
|
blob
|
history
diff --git
a/src/search.c
b/src/search.c
index dcf486d0dd0a1a325d378fb3860f8cf6ac40556d..6f18fc7d8345056bd71ed470efdb3524b97d3e9e 100644
(file)
--- a/
src/search.c
+++ b/
src/search.c
@@
-2711,9
+2711,10
@@
DEFUN ("regexp-quote", Fregexp_quote, Sregexp_quote, 1, 1, 0,
*out++ = *in;
}
- return make_
multibyte
_string (temp,
+ return make_
specified
_string (temp,
XSTRING (string)->size + backslashes_added,
- out - temp);
+ out - temp,
+ STRING_MULTIBYTE (string));
}
\f
syms_of_search ()